package com.rtx.model.po.entity.system;

import java.util.Date;
import java.util.List;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModelProperty;

@TableName(value = "sys_user_permission")
public class UserPermission {

	@TableField(value = "tenant_id")
	private String tenantId;
	@TableField(value = "company_id")
	private String companyId;
    @ApiModelProperty("主键id")
    @TableId(value = "id", type = IdType.AUTO)
	private String id;
    @TableField(value = "user_id")
	private String userId;
    @TableField(value = "permission_id")
	private Integer permissionId;
	private String remark;
	private Integer version;
	@TableField(value = "is_deleted")
	private String isDeleted;
	@TableField(value = "ins_user")
	private String insUser;
	@TableField(value = "ins_time")
	private Date insTime;
	@TableField(value = "upd_user")
	private String updUser;
	@TableField(value = "upd_time")
	private Date updTime;
	
	@TableField(exist = false)
    private List<Integer> checkedList;
	
	public List<Integer> getCheckedList() {
		return checkedList;
	}
	public void setCheckedList(List<Integer> checkedList) {
		this.checkedList = checkedList;
	}
	public String getTenantId() {
		return tenantId;
	}
	public void setTenantId(String tenantId) {
		this.tenantId = tenantId;
	}
	public String getCompanyId() {
		return companyId;
	}
	public void setCompanyId(String companyId) {
		this.companyId = companyId;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public Integer getPermissionId() {
		return permissionId;
	}
	public void setPermissionId(Integer permissionId) {
		this.permissionId = permissionId;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public Integer getVersion() {
		return version;
	}
	public void setVersion(Integer version) {
		this.version = version;
	}
	public String getIsDeleted() {
		return isDeleted;
	}
	public void setIsDeleted(String isDeleted) {
		this.isDeleted = isDeleted;
	}
	public String getInsUser() {
		return insUser;
	}
	public void setInsUser(String insUser) {
		this.insUser = insUser;
	}
	public Date getInsTime() {
		return insTime;
	}
	public void setInsTime(Date insTime) {
		this.insTime = insTime;
	}
	public String getUpdUser() {
		return updUser;
	}
	public void setUpdUser(String updUser) {
		this.updUser = updUser;
	}
	public Date getUpdTime() {
		return updTime;
	}
	public void setUpdTime(Date updTime) {
		this.updTime = updTime;
	}
}
